package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 用户对象 bt_user
 * 
 * @author laohei
 * @date 2021-01-24
 */
public class BtUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Integer userId;

    /** 机构id */
    @Excel(name = "机构id")
    private Integer orgId;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String orgName;

    /** 用户标识 */
    @Excel(name = "用户标识")
    private String userCard;

    /** 用户标识图片 */
    @Excel(name = "用户标识图片")
    private String userCardImg;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 身份证号 */
    private String idcardNum;

    /** 身份证正面 */
    @Excel(name = "身份证正面")
    private String idcardFrontImg;

    /** 身份证反面 */
    @Excel(name = "身份证反面")
    private String idcardBackImg;

    /** 等级 */
    @Excel(name = "等级")
    private Integer userLevel;

    /** 金豆 */
    @Excel(name = "金豆")
    private BigDecimal btBean;

    /** 版通积分 */
    @Excel(name = "版通积分")
    private BigDecimal btScore;

    /** 版通奖券 */
    private Integer btTicket;

    /** 邀请码 */
    @Excel(name = "邀请码")
    private String invitationCode;

    /** 邀请者邀请码 */
    private String toInvitationCode;

    /** 状态 0待审核 1审核通过 2驳回 */
    @Excel(name = "状态 0待审核 1审核通过 2驳回  9未认证")
    private Integer status;

    /** 备注 驳回理由 */
    private String memo;

    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setOrgId(Integer orgId) 
    {
        this.orgId = orgId;
    }

    public Integer getOrgId() 
    {
        return orgId;
    }
    public void setUserCard(String userCard) 
    {
        this.userCard = userCard;
    }

    public String getUserCard() 
    {
        return userCard;
    }
    public void setUserCardImg(String userCardImg) 
    {
        this.userCardImg = userCardImg;
    }

    public String getUserCardImg() 
    {
        return userCardImg;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setIdcardFrontImg(String idcardFrontImg) 
    {
        this.idcardFrontImg = idcardFrontImg;
    }

    public String getIdcardFrontImg() 
    {
        return idcardFrontImg;
    }
    public void setIdcardBackImg(String idcardBackImg) 
    {
        this.idcardBackImg = idcardBackImg;
    }

    public String getIdcardBackImg() 
    {
        return idcardBackImg;
    }
    public void setUserLevel(Integer userLevel) 
    {
        this.userLevel = userLevel;
    }

    public Integer getBtTicket() {
        return btTicket;
    }

    public void setBtTicket(Integer btTicket) {
        this.btTicket = btTicket;
    }

    public Integer getUserLevel()
    {
        return userLevel;
    }

    public BigDecimal getBtBean() {
        return btBean;
    }

    public void setBtBean(BigDecimal btBean) {
        this.btBean = btBean;
    }

    public BigDecimal getBtScore() {
        return btScore;
    }

    public void setBtScore(BigDecimal btScore) {
        this.btScore = btScore;
    }

    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public String getInvitationCode() {
        return invitationCode;
    }

    public void setInvitationCode(String invitationCode) {
        this.invitationCode = invitationCode;
    }

    public Integer getStatus()
    {
        return status;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getIdcardNum() {
        return idcardNum;
    }

    public void setIdcardNum(String idcardNum) {
        this.idcardNum = idcardNum;
    }

    public String getToInvitationCode() {
        return toInvitationCode;
    }

    public void setToInvitationCode(String toInvitationCode) {
        this.toInvitationCode = toInvitationCode;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("orgId", getOrgId())
            .append("userCard", getUserCard())
            .append("userCardImg", getUserCardImg())
            .append("name", getName())
            .append("avatar", getAvatar())
            .append("phone", getPhone())
            .append("idcardFrontImg", getIdcardFrontImg())
            .append("idcardBackImg", getIdcardBackImg())
            .append("userLevel", getUserLevel())
            .append("btBean", getBtBean())
            .append("btScore", getBtScore())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
